package org.xidian.note.controller.note;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.xidian.note.entity.NoteResult;
import org.xidian.note.service.NoteService;
@Controller
@RequestMapping("/note")
public class loadDeleteNotesController {
	@Resource
    private NoteService noteService;
	@ResponseBody
	@RequestMapping("/loadDeleteNotes.do")
    public NoteResult execute(String userId){
    	NoteResult result = noteService.loadDeleteNotes(userId);
    	return result;
    }
}
